.class final Lcom/melesta/engine/EngineActivity$20;
.super Ljava/lang/Object;
.source "EngineActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/melesta/engine/EngineActivity;->enableSleep(Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic val$enable:Z

.field final synthetic val$window:Landroid/view/Window;


# direct methods
.method constructor <init>(ZLandroid/view/Window;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 2048
    iput-boolean p1, p0, Lcom/melesta/engine/EngineActivity$20;->val$enable:Z

    iput-object p2, p0, Lcom/melesta/engine/EngineActivity$20;->val$window:Landroid/view/Window;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 2

    .prologue
    const/16 v1, 0x80

    .line 2052
    iget-boolean v0, p0, Lcom/melesta/engine/EngineActivity$20;->val$enable:Z

    if-eqz v0, :cond_0

    .line 2053
    iget-object v0, p0, Lcom/melesta/engine/EngineActivity$20;->val$window:Landroid/view/Window;

    invoke-virtual {v0, v1}, Landroid/view/Window;->clearFlags(I)V

    .line 2057
    :goto_0
    return-void

    .line 2055
    :cond_0
    iget-object v0, p0, Lcom/melesta/engine/EngineActivity$20;->val$window:Landroid/view/Window;

    invoke-virtual {v0, v1}, Landroid/view/Window;->addFlags(I)V

    goto :goto_0
.end method
